import fetch from '@/util/fetch'
// publish
export function publish_get(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// publish
export function publish_head(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// publish
export function publish_post(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// publish
export function publish_put(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// publish
export function publish_delete(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// publish
export function publish_options(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// publish
export function publish_patch(options) {
  return fetch({
    url: 'backend/goods/type/publish',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_get(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_head(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_post(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_put(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_delete(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_options(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// queryType
export function queryType_patch(options) {
  return fetch({
    url: 'backend/goods/type/queryType',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_get(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_head(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_post(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_put(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_delete(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_options(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// saveType
export function saveType_patch(options) {
  return fetch({
    url: 'backend/goods/type/saveType',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// sort
export function sort_get(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// sort
export function sort_head(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// sort
export function sort_post(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// sort
export function sort_put(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// sort
export function sort_delete(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// sort
export function sort_options(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// sort
export function sort_patch(options) {
  return fetch({
    url: 'backend/goods/type/sort',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_get(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_head(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_post(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_put(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_delete(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_options(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// unPublish
export function unPublish_patch(options) {
  return fetch({
    url: 'backend/goods/type/unPublish',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}
